<?php
//添加角色
require_once("./DButil.php");

$powerIdArr = $_REQUEST["powerId"];

// roleName 不能相同
$sql = "insert t_role";

$sql = "insert t_role_power";

$result = [
    "msg" => "成功",
    "code" => 200,
    "success" => true
];

header("Content-Type:application/json;charset=utf-8");
echo json_encode($result);
?>